﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ABELGX
{
    /// <summary>
    /// 电池显示设置
    /// </summary>
    [Serializable]
    public class BatterySet
    {
        /// <summary>
        /// 电芯数量
        /// </summary>
        public int Count { get; set; } = 1;
        /// <summary>
        /// 电压
        /// </summary>
        public SensorSet Voltage { get; set; } = new SensorSet("电压","V", 0.01, "f2");
        /// <summary>
        /// 电流
        /// </summary>
        public SensorSet Current { get; set; } = new SensorSet("电流", "A", 0.01, "f2");
        /// <summary>
        /// 电量
        /// </summary>
        public SensorSet Quantity { get; set; } = new SensorSet("电量", "%", 0.1, "f1");
        /// <summary>
        /// 电芯电压
        /// </summary>
        public SensorSet CellVoltage { get; set; } = new SensorSet("电芯电压", "V", 0.1, "f1");
        /// <summary>
        /// 电芯温度
        /// </summary>
        public SensorSet CellTemperature { get; set; } = new SensorSet("电芯温度", "℃", 0.1, "f1");
    }
}
